package dnuifood_cjy.dnuifood_16110100529.service;


import dnuifood_cjy.dnuifood_16110100529.bean.CollectStatus;
import dnuifood_cjy.dnuifood_16110100529.bean.FoodBean;
import dnuifood_cjy.dnuifood_16110100529.bean.ResultBean;
import dnuifood_cjy.dnuifood_16110100529.bean.ShopBean;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface ShopService {

    @GET("getAllShops.do")
    Call<List<ShopBean>>getAllshops();

    @GET("getFoodByShop.do")
    Call<List<FoodBean>>getFoodByShop(
            @Query("shop_id") String shop_id
    );
    @GET("isCollected.do")
    Call<CollectStatus>isCollected(
            @Query("user_id") String user_id,
            @Query("shop_food_id") String shop_food_id,
            @Query("flag") String flag

    );
    @GET("userCollectShop.do")
    Call<ResultBean>userCollectShop(
            @Query("user_id") String user_id,
            @Query("food_id") String shop_id
    );


}
